package com.library;


public class Book {
    private String number;  // 图书编号
    private String name;    // 书名
    private String author;  // 作者

    public Book() {}
    public Book(String number, String name, String author) {
        this.number = number;
        this.name = name;
        this.author = author;
    }

    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
}

